<?php

$target_path = "c:/uploads/";

$target_path = $target_path.basename( $_FILES['uploadedfile']['name']);

echo $target_path."---";
echo $_FILES['uploadedfile']['name']."---";
echo $_FILES['uploadedfile']['tmp_name']."---";
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) 
{
	echo "The file ". basename( $_FILES['uploadedfile']['name'])." has been uploaded";
}
else
{
	echo "There was an error uploading the file, please try again!";
}

?> 
<html>



Pagina di uploading....
</html>
